home *** CD-ROM | disk | FTP | other *** search
/ VRML 2.0 Sourcebook (2nd Edition) / VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso / book / mac / ch06 / 06fig10.wrl < prev    next >
Text File  |  1996-09-23  |  1KB  |  62 lines

  1. #VRML V2.0 utf8
  2. # The VRML 2.0 Sourcebook
  3. # Copyright 1997 By
  4. # Andrea L. Ames, David R. Nadeau, and John L. Moreland
  5. Group {
  6.     children [
  7.     # Ground
  8.         Shape {
  9.             appearance DEF White Appearance {
  10.                 material Material { }
  11.             }
  12.             geometry Box {
  13.                 size 25.0 0.1 25.0
  14.             }
  15.         },
  16.     # First archway
  17.     # Left Column
  18.         DEF LeftColumn Transform {
  19.             translation -2.0 3.0 0.0
  20.             children DEF Column Shape {
  21.                 appearance USE White
  22.                 geometry Cylinder {
  23.                     radius 0.3
  24.                     height 6.0
  25.                 }
  26.             }
  27.         },
  28.     # Right Column
  29.         DEF RightColumn Transform {
  30.             translation 2.0 3.0 0.0
  31.             children USE Column
  32.         },
  33.     # Archway span
  34.         DEF ArchwaySpan Transform {
  35.             translation 0.0 6.05 0.0
  36.             children Shape {
  37.                 appearance USE White
  38.                 geometry Box{
  39.                     size 4.6 0.4 0.6
  40.                 }
  41.             }
  42.         },
  43.     # Left Roof
  44.         DEF LeftRoof Transform {
  45.             translation -1.15 7.12 0.0
  46.             rotation 0.0 0.0 1.0  0.524
  47.             children DEF Roof Shape {
  48.                 appearance USE White
  49.                 geometry Box {
  50.                     size 2.86 0.4 0.6
  51.                 }
  52.             }
  53.         },
  54.     # Right Roof
  55.         DEF LeftRoof Transform {
  56.             translation 1.15 7.12 0.0
  57.             rotation 0.0 0.0 1.0  -0.524
  58.             children USE Roof
  59.         }
  60.     ]
  61. }
  62.